package com.shop.loan.model.common;

public enum CodeByYingCai {

    loan("000", "可以借款"),
    age_fail("101", "用户年龄过大或过小"),
    ing_order("102", "用户在机构有未完成的借款"),
    overdue("103", "用户在机构有不良借款记录"),
    black("104", "该用户是征信系统黑名单用户"),
    reject("105", "风控拒绝"),



    success("0000", "成功"),
    fail("0999", "其他异常"),
    fail_sys("1000", "系统异常，请重试"),
    sign_error("1001", "验签失败"),
    param_lack("1002", "参数异常"),
    decode_error("1003", "解密失败"),





    ;

    private String code;

    private String msg;

    CodeByYingCai(String code, String msg) {
        this.msg = msg;
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
